<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="app" uri="http://www.wanrenhui.com" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	  <%@include file="/res/include/base-head.jsp"%>
	  <%@include file="/res/include/jquery-easyui.jsp"%>
	<script type="text/javascript" src="${pageContext.request.contextPath}/res/js/sms/smsSysparam.js"></script>
  </head>
  <body>
	<div class="easyui-layout" data-options="fit:true">
	    <div data-options="region:'center',border:false">
		    <table id="datagrid" data-options="url:'${pageContext.request.contextPath}/sms/sys/param/list',toolbar:'#toolbar'">
				<thead>
					<tr>
						<th data-options="field:'remark',width:200,align:'center'">描述</th>
						<th data-options="field:'value',width:200,align:'center'">值</th>
			            <th data-options="field:'id',align:'center',width:150,formatter:formatOperation">管理操作</th>
					</tr>
				</thead>
			</table>
	  	</div>
	  </div>
	<script>
		function formatOperation(value,row,index) {				
			var l_html = '<a href="javascript:;" class="table_link" onclick="admin.smsSysparam.toUpdate('+row.id+')">编辑</a>';
			return l_html;
		}
	</script>
  </body>
</html>
